<template>
  <div class="table">
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="name" label="姓名" > </el-table-column>
      <el-table-column prop="age" label="年龄" > </el-table-column>
      <el-table-column prop="sex" label="性别" > </el-table-column>
      <el-table-column prop="likes" label="爱好" > </el-table-column>
      <el-table-column prop="address" label="地址"> </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  props:['tableData'],
};
</script>

<style>
</style>